package xin.alum.aim.config;

import xin.alum.aim.groups.SessionGroups;
import xin.alum.aim.groups.Sessions;
import lombok.Data;
import org.springframework.boot.autoconfigure.AutoConfigurationPackage;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

import javax.annotation.Resource;

/**
 * 描述：配置信息 实体
 *
 * @Author alum
 * @Date 2019/5/7 21:50
 **/
@Configuration
@AutoConfigurationPackage
@Import(AimProperties.class)
//@ConditionalOnClass(AimProperties.class)
////@EnableConfigurationProperties(AimProperties.class)
////@ConditionalOnProperty(
////        prefix = "alum.aim",
////        name = "enable",
////        havingValue = "true"
////)
@Data
public class AimConfig {

    @Resource
    private AimProperties aimProperties;

}